import Layout from '@/layout'

const preArchiving = {
  path: '/preArchiving',
  component: Layout,
  redirect: 'noRedirect',
  name: 'preArchiving',
  meta: {
    title: '',
    icon: 'component',
    roles: ['staffArch', 'staffManagerArch', 'staffKnowProArch']
  },
  children: [
    // {
    //   path: 'knowledgeReview',
    //   name: 'knowledgeReview',
    //   component: () => import('@/views/preArchiving/index.vue'),
    //   meta: {
    //     title: '预归档(示例)',
    //     roles: ['staffArch', 'staffManager']
    //   }
    // }

    {
      path: 'knowledgeReview',
      name: 'knowledgeReview',
      component: () => import('@/views/preArchiving/currentArchivingNew.vue'),
      meta: {
        title: '预归档(示例)',
        roles: ['staffArch', 'staffManagerArch', 'staffKnowProArch']
      }
    }
  ]
}

export default preArchiving
